package io.gitee.thinkbungee.mybatisSatellite.controller.param;

import io.gitee.thinkbungee.crud.PageParam;
import io.gitee.thinkbungee.crud.annotation.Query;
import io.gitee.thinkbungee.enums.QueryEnum;
import lombok.Data;

import java.io.Serializable;

/**
 * 查询参数
 *
 * @author chenyichang
 * @email 820117089@qq.com
 * @date 2022-05-25 18:33:03
 */
@Data
public class TestParam extends PageParam implements Serializable {


    /**
     * 默认都是模糊查询
     */
    @Query(QueryEnum.LIKE)
    private String username;

    /**
     * 默认都是模糊查询
     */
    @Query(QueryEnum.LIKE)
    private String password;

    /**
     * 默认都是模糊查询
     */
    @Query(QueryEnum.LIKE)
    private String description;
}
